#include "diskanalysis.h"
#include "diskchart.h"
#include <QApplication>
#include <iostream>

int main(int argc, char** argv)
{

	QApplication app(argc, argv);
	//CDirInfo dir;

	//dir.Analysis("c:/");
	//std::cout << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
	//for (int i = 0; i < dir._dircnt; i++)
	//{
	//	std::cout << qPrintable(QString("%1 %2 %3 %4").arg(dir._vtDirPtr[i]->_size, 10)
	//		.arg(dir._vtDirPtr[i]->_dircnt_t, 5)
	//		.arg(dir._vtDirPtr[i]->_filecnt_t, 5)
	//		.arg(dir._vtDirPtr[i]->_dirName));

	//	std::cout << std::endl;
	//}

	CDiskChart chart;
	chart.showMaximized();
	
	return app.exec();
}